﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage.master"
    Inherits="System_User_Group_List" CodeFile="User_Group_List.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>移动端用户列表</title>
    <link href="../resources/styles/style.css" type="text/css" rel="stylesheet">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
        <div>
            <table id="wsd_inputtable">
                <tr>
                    <td class="tabletitle" style="height: 21px" width="100%">
                        用户组列表
                    </td>
                </tr>
            </table>
            <table id="wsd_listtable">
                <tr>
                    <td style="width: 100%">
                        <asp:GridView Width="100%" ID="GridView1" runat="server" AutoGenerateColumns="False"
                            EmptyDataText="没有可显示的数据." EmptyDataRowStyle-Font-Bold="true" EmptyDataRowStyle-HorizontalAlign="Center"
                            BorderWidth="0" BorderStyle="None" GridLines="None" OnRowDataBound="Grid_RowDataBound"
                            EnableEmptyContentRender="true" DataKeyNames="ID" AllowPaging="True" PageSize="20"
                            OnPageIndexChanging="GridView1_PageIndexChanging">
                            <HeaderStyle CssClass="titlist" />
                            <EmptyDataRowStyle HorizontalAlign="Center" Font-Bold="True"></EmptyDataRowStyle>
                            <Columns>
                                <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="AuthRole.aspx?{0}"
                                    ControlStyle-Font-Underline="false" DataTextField="CODE" HeaderText="组名称">
                                    <ControlStyle Font-Underline="False"></ControlStyle>
                                </asp:HyperLinkField>
                                <asp:TemplateField HeaderText="有效">
                                    <ItemTemplate>
                                         <b><%# (bool)Eval("ACTIVE") ? "<font size='3' color='green'>√</font>" : "<font size='3' color='red'>×</font>"%></b>
                                    </ItemTemplate>
                                </asp:TemplateField>
                              <%--  <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="AuthRole.aspx?rid={0}"
                                    Text="权限" ControlStyle-Font-Underline="false" HeaderText="权限">
                                    <ControlStyle Font-Underline="False"></ControlStyle>
                                </asp:HyperLinkField>--%>
                            </Columns>
                            <PagerSettings FirstPageText="首页" LastPageText="尾页" Mode="NumericFirstLast" PageButtonCount="30" />
                            <RowStyle CssClass="evenline" />
                            <AlternatingRowStyle CssClass="oddline" />
                        </asp:GridView>
                    </td>
                </tr>
            </table>
            <br />
            <table id="wsd_inputtable">
                <tr>
                    <td width="100%" class="tabletitle">
                        操作选项
                    </td>
                </tr>
                <tr>
                    <td class="buttonarea">
                        <input id="btnAdd" type="button" value="新　增" class="wsd_button2" onclick="location.href='AuthRole.aspx'" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
